package com.hibernate;

import java.sql.Timestamp;


/**
 * Opposition entity. @author MyEclipse Persistence Tools
 */

public class Opposition  implements java.io.Serializable {


    // Fields    

     private String numerocarteopposition;
     private Carte carte;
     private Short motifopposition;
     private Short pertecondeconfidentielopposition;
     private Timestamp datedeclarationopposition;


    // Constructors

    /** default constructor */
    public Opposition() {
    }

	/** minimal constructor */
    public Opposition(String numerocarteopposition, Carte carte) {
        this.numerocarteopposition = numerocarteopposition;
        this.carte = carte;
    }
    
    /** full constructor */
    public Opposition(String numerocarteopposition, Carte carte, Short motifopposition, Short pertecondeconfidentielopposition, Timestamp datedeclarationopposition) {
        this.numerocarteopposition = numerocarteopposition;
        this.carte = carte;
        this.motifopposition = motifopposition;
        this.pertecondeconfidentielopposition = pertecondeconfidentielopposition;
        this.datedeclarationopposition = datedeclarationopposition;
    }

   
    // Property accessors

    public String getNumerocarteopposition() {
        return this.numerocarteopposition;
    }
    
    public void setNumerocarteopposition(String numerocarteopposition) {
        this.numerocarteopposition = numerocarteopposition;
    }

    public Carte getCarte() {
        return this.carte;
    }
    
    public void setCarte(Carte carte) {
        this.carte = carte;
    }

    public Short getMotifopposition() {
        return this.motifopposition;
    }
    
    public void setMotifopposition(Short motifopposition) {
        this.motifopposition = motifopposition;
    }

    public Short getPertecondeconfidentielopposition() {
        return this.pertecondeconfidentielopposition;
    }
    
    public void setPertecondeconfidentielopposition(Short pertecondeconfidentielopposition) {
        this.pertecondeconfidentielopposition = pertecondeconfidentielopposition;
    }

    public Timestamp getDatedeclarationopposition() {
        return this.datedeclarationopposition;
    }
    
    public void setDatedeclarationopposition(Timestamp datedeclarationopposition) {
        this.datedeclarationopposition = datedeclarationopposition;
    }
   








}